//
//  CBARankingViewController.m
//  BallRankingProject
//
//  Created by lanou3g on 15/6/2.
//  Copyright (c) 2015年 luojian. All rights reserved.
//

#import "CBARankingViewController.h"

@interface CBARankingViewController ()

@end

@implementation CBARankingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
  CGRect fram=self.view.frame;
    fram.origin.x=0;
    fram.size.height=CGRectGetHeight(self.view.frame)-44-64;
    self.view.frame=fram;
    // Do any additional setup after loading the view.
    [self getInmage];
}
- (void)getInmage
{
    UIWebView *webView=[[UIWebView alloc] initWithFrame:self.view.frame];
    
    NSURL *url=[NSURL URLWithString:CBAMIC];
    NSURLRequest *request=[NSURLRequest requestWithURL:url];
    [webView loadRequest:request];
    webView.scrollView.bounces=YES;
[self.view addSubview:webView];

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
